<template>
  <div>
    <h1>教师信息</h1>
    <p>姓名:{{ name }}</p>
    <p>年龄:{{ age }}</p>
    <p>薪资:{{ salary }}</p>
  </div>
</template>


<script>
export default {
  name: "TeacherView",
  data() {
    return {
      name: 'tom',
      age: 20,
      salary: 3000
    }
  }
}
</script>



<style scoped>

</style>
